/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ProjectSortEnum extends StringEnum
{
    public static final String LEAVE_VALUE = "10";
    public static final String ARRIVE_VALUE = "20";
    public static final String BUSINESS_VALUE = "30";
    public static final String REGION_VALUE = "40";
    public static final String PLOT_VALUE = "50";

    public static final ProjectSortEnum leave = new ProjectSortEnum("leave", LEAVE_VALUE);
    public static final ProjectSortEnum arrive = new ProjectSortEnum("arrive", ARRIVE_VALUE);
    public static final ProjectSortEnum business = new ProjectSortEnum("business", BUSINESS_VALUE);
    public static final ProjectSortEnum region = new ProjectSortEnum("region", REGION_VALUE);
    public static final ProjectSortEnum plot = new ProjectSortEnum("plot", PLOT_VALUE);

    /**
     * construct function
     * @param String projectSortEnum
     */
    private ProjectSortEnum(String name, String projectSortEnum)
    {
        super(name, projectSortEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ProjectSortEnum getEnum(String projectSortEnum)
    {
        return (ProjectSortEnum)getEnum(ProjectSortEnum.class, projectSortEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ProjectSortEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ProjectSortEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ProjectSortEnum.class);
    }
}